package com.ydm.fire_fighting_web.modules.management.managementInstitutions.api;

import com.ydm.fire_fighting_web.entity.management.MIListRequest;
import com.ydm.fire_fighting_web.entity.management.ManagementInstitutions;
import com.ydm.fire_fighting_web.entity.ucenter.Result;
import com.ydm.fire_fighting_web.exception.response.QueryResult;
import com.ydm.fire_fighting_web.exception.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Api(value = "管理机构",description = "网格中心管理")
public interface ManagementInstitutionsControllerApi {
    @ApiOperation("分页查询管理机构")
    public QueryResult<ManagementInstitutions> findListByPage(Integer page, Integer size, MIListRequest miListRequest);
    @ApiOperation("添加管理机构")
    public ResponseResult save(ManagementInstitutions managementInstitutions);
    @ApiOperation("根据id查询管理机构信息")
    public ManagementInstitutions findById(String id);
    @ApiOperation("修改管理机构信息")
    public ResponseResult update(String id ,ManagementInstitutions managementInstitutions);
    @ApiOperation("导出Excel管理机构信息")
    public void export();
}
